package com.practice.springboot_01_zwj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@NoArgsConstructor
@AllArgsConstructor
@Data
public class BatchSubTask {
    private Integer id; //批量任务id
    private String taskName; //任务名称
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime; //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime; //结束时间
    private Double progress; // 完成度
    private Integer subId; //子任务Id
    private String taskDescription; //当前进展（任务描述）关键结果达成情况
    private String implementDescription; //工作任务落实情况
    private String workTask;  //工作任务
    private String batchExecutor; //批量子任务执行人

    private Double indexValue;  //指标值
    private Double selfRating; //自评分

    public Double getSelfRating() {
        return selfRating;
    }

    public void setSelfRating(Double selfRating) {
        this.selfRating = selfRating;
    }

    public String getImplementDescription() {
        return implementDescription;
    }

    public void setImplementDescription(String implementDescription) {
        this.implementDescription = implementDescription;
    }

    public Double getIndexValue() {
        return indexValue;
    }

    public void setIndexValue(Double indexValue) {
        this.indexValue = indexValue;
    }

    public String getWorkTask() {
        return workTask;
    }

    public void setWorkTask(String workTask) {
        this.workTask = workTask;
    }

    public String getBatchExecutor() {
        return batchExecutor;
    }

    public void setBatchExecutor(String batchExecutor) {
        this.batchExecutor = batchExecutor;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getSubId() {
        return subId;
    }

    public void setSubId(Integer subId) {
        this.subId = subId;
    }

    public String getTaskDescription() {
        return taskDescription;
    }

    public void setTaskDescription(String taskDescription) {
        this.taskDescription = taskDescription;
    }

    public Double getProgress() {
        return progress;
    }

    public void setProgress(Double progress) {
        this.progress = progress;
    }
}
